package conson.tech.manage.message.entity.pojo;

import conson.tech.core.po.BasePo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;


/**
 * ClassName: MessageConfig
 * Description:
 * Author: HXL
 * LocalDateTime: 2020/4/22 9:55 上午
 * Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MessageSendLog extends BasePo<MessageSendLog> {
    private static final long serialVersionUID = -795013056015166079L;
    private Long id;
    private Long configId; //消息配置ID
    private String taskDes; //任务描述
    private Integer sendType; //发送类型: 1 站内信 2 推送
    private Integer messageType; //消息类型:0全部1系统消息2活动消息
    private Integer deviceType;  //设备类型:0全部  1iOS  2android
    private String titleName;     //标题名称
    private String content;    //消息内容
    private Integer releaseWay; //发布方式:1立即2定时
    private LocalDateTime releaseStartTime;  //发布开始时间
    private LocalDateTime releaseEndTime;  //发布结束时间
    private Integer linkType;   //链接类型：1-无 2-原生 3-H5链接 4-H5传参链接
    private String linkAddress;   //链接地址
    private Integer receiveUserType; //接收用户类型:1全部用户2指定用户3标签用户4.批量用户
    private String appointUserMobile;  //指定用户手机号(多个用逗号分割)
    private String tagTypeArray;    //标签类型分组
    private Integer auditState;  //审核状态：0待审核1审核通过2审核不通过 3不需要审核
    private String auditUser; //审核人
    private LocalDateTime auditTime;  //审核时间
    private String remark;    //备注
    private LocalDateTime submitTime;    //提交时间
    private String shouldSend;  //应送
    private String deliverySend; //送达(实送)
    private String readClickNum;  //阅读点击数
    private String readClickRatio;  //阅读点击率
    private Integer sendState;    //发送状态:1发送完成2未发送
    private Integer delFlag;    //删除标识：0删除1不删除
    private String createdBy; //创建人
    private LocalDateTime createdTime;    //创建时间
    private String updatedBy;  //修改人
    private LocalDateTime updatedTime;  //修改时间
    private String batchUserFileUrl;  //批量用户手机文件地址


}
